net/macb: Add arch specific routine to get mdio control
authorShiraz Hashim <[email protected]>
Thu, 13 Dec 2012 11:52:52 +0000 (17:22 +0530)
committerJoe Hershberger <[email protected]>
Tue, 25 Jun 2013 00:10:16 +0000 (19:10 -0500)
commit416ce623fbad51af57660346ebb6f7befb88b3c9
tree52a411a2c2eede56af92824867419c1562d3229e
parent7091915ad7a58d7884b7353b87373847ae943e1c
net/macb: Add arch specific routine to get mdio control

SPEAr310 and SPEAr320 Ethernet interfaces share same MDIO lines to control their
respective phys. Currently there is a fixed configuration in which only a
particular MAC can use the MDIO lines.

Call an arch specific function to take control of specific mdio lines at
runtime.

Signed-off-by: Shiraz Hashim <[email protected]>
Signed-off-by: Vipin Kumar <[email protected]>
Acked-by: Stefan Roese <[email protected]>
drivers/net/macb.c